<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<link href="<c:url value='/res/css/jqgrid/ui.jqgrid.css'/>" rel="stylesheet" type="text/css" />

<h2>사업자정보 업로드</h2>

<form id="excelUploadForm" action="" class="btn10" method="post" enctype="multipart/form-data">
<ul class="clearfix">
	<li>
		<input type="hidden" id="fakeUploadPath" name="fakeUploadPath" readonly="readonly" />
		<input type="file" id="uploadFile" name="uploadFile" />
		<p class="msg">※ 업로드용 엑셀파일은 *.xls 파일만 지원합니다.</p>
	</li>
	<li id="fileSizeArea">
		<span>파일사이즈 : <strong id="fileSize">0</strong> Kb</span>
		<span>총 : <strong id="strTotalDataCount">0</strong> 건</span>
	</li>
	<li>
		<span class="button medium icon"><span class="check"></span><button id="btnTransferUploadData">데이터 저장</button></span>
	</li>
	<li class="result">
		<fieldset>
			<legend>전송결과</legend>
			<span>성공 <strong id="strTrueDataCount">0</strong> 건</span><span>갱신 <strong id="strUpdateDataCount">0</strong> 건</span><span>미존재 <strong id="strEmptyDataCount">0</strong> 건</span><span class="last">실패 <strong id="strFalseDataCount">0</strong> 건</span>
		</fieldset>
	</li>
</ul>
</form>

<table id="uploadGrid"></table>
<script type="text/javascript" src="<c:url value='/res/js/plugin/json2.js'/>"></script>
<script type="text/javascript" src="<c:url value='/res/js/plugin/jquery.form.js'/>"></script>

<script type="text/javascript" src="<c:url value='/res/js/plugin/jqgrid/jquery.jqGrid.min.js'/>"></script>
<script type="text/javascript" src="<c:url value='/res/js/plugin/jqgrid/i18n/grid.locale-kr.js'/>"></script>
<script type="text/javascript" src="<c:url value='/res/js/content/upload/form.js'/>"></script>
